import request from '@/utils/request'

// 查询总经理审核列表
export function listManagerQuote(query) {
  return request({
    url: '/quotation/manager/list',
    method: 'get',
    params: query
  })
}

// 获取报价详情（包含报价单、工程审核和成本核算信息）
export function getQuoteFullInfo(id) {
  return request({
    url: '/quotation/manager/' + id,
    method: 'get'
  })
}

// 执行总经理审核
export function auditQuote(data) {
  return request({
    url: '/quotation/manager/audit',
    method: 'post',
    data: data
  })
}

// 驳回审核
export function rejectQuote(data) {
  return request({
    url: '/quotation/manager/reject',
    method: 'post',
    data: data
  })
}

// 导出总经理审核列表
export function exportManagerQuote(query) {
  return request({
    url: '/quotation/manager/export',
    method: 'post',
    params: query
  })
} 